.class public Lcom/glympse/platform/GCoordinates;
.super Landroid/location/Location;
.source "GCoordinates.java"


# direct methods
.method public constructor <init>(DD)V
    .locals 1
    .parameter "dLatitude"
    .parameter "dLongitude"

    .prologue
    .line 30
    const-string v0, "Glympse"

    invoke-direct {p0, v0}, Landroid/location/Location;-><init>(Ljava/lang/String;)V

    .line 31
    invoke-virtual {p0, p1, p2}, Lcom/glympse/platform/GCoordinates;->setLatitude(D)V

    .line 32
    invoke-virtual {p0, p3, p4}, Lcom/glympse/platform/GCoordinates;->setLongitude(D)V

    .line 33
    return-void
.end method

.method public constructor <init>(Lcom/glympse/platform/common/LocPoint;)V
    .locals 2
    .parameter "oLocPoint"

    .prologue
    .line 22
    const-string v0, "Glympse"

    invoke-direct {p0, v0}, Landroid/location/Location;-><init>(Ljava/lang/String;)V

    .line 23
    iget-wide v0, p1, Lcom/glympse/platform/common/LocPoint;->m_dLatitude:D

    invoke-virtual {p0, v0, v1}, Lcom/glympse/platform/GCoordinates;->setLatitude(D)V

    .line 24
    iget-wide v0, p1, Lcom/glympse/platform/common/LocPoint;->m_dLongitude:D

    invoke-virtual {p0, v0, v1}, Lcom/glympse/platform/GCoordinates;->setLongitude(D)V

    .line 25
    return-void
.end method


# virtual methods
.method public BearingTo(Lcom/glympse/platform/GCoordinates;)F
    .locals 1
    .parameter "oTo"

    .prologue
    .line 44
    invoke-virtual {p0, p1}, Lcom/glympse/platform/GCoordinates;->bearingTo(Landroid/location/Location;)F

    move-result v0

    return v0
.end method

.method public DistanceTo(Lcom/glympse/platform/GCoordinates;)F
    .locals 1
    .parameter "oTo"

    .prologue
    .line 38
    invoke-virtual {p0, p1}, Lcom/glympse/platform/GCoordinates;->distanceTo(Landroid/location/Location;)F

    move-result v0

    return v0
.end method
